package com.hqj.controller;

import com.hqj.entity.InfoUser;
import com.hqj.service.UserService;
import com.hqj.service.UserServiceI;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

@Controller
@RequestMapping("/uc")
public class UserController {

    @Resource(name = "userServiceI")
    private UserServiceI usi;

    public List<InfoUser> find(InfoUser iu){
        List<InfoUser> list = usi.find(iu);
        return list;
    }

}
